﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Warehouse.Infrstructre.Migrations
{
    /// <inheritdoc />
    public partial class 移库产品表中修改移库id为移库编号 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "MovelibraryId",
                table: "MoveProducts");

            migrationBuilder.AddColumn<string>(
                name: "MovelibraryCode",
                table: "MoveProducts",
                type: "nvarchar(max)",
                nullable: true);
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "MovelibraryCode",
                table: "MoveProducts");

            migrationBuilder.AddColumn<int>(
                name: "MovelibraryId",
                table: "MoveProducts",
                type: "int",
                nullable: true);
        }
    }
}
